Skip to content

Add MCP server for LLM-driven fault analysis#13

Open
readpe wants to merge 1 commit into
mainfrom
mcp-server
Open

Add MCP server for LLM-driven fault analysis#13
readpe wants to merge 1 commit into
mainfrom
mcp-server

Conversation

@readpe
Copy link
Copy Markdown
Owner

@readpe readpe commented Mar 20, 2026

Summary

  • Adds an MCP (Model Context Protocol) server at cmd/mcp-server/ with 7 read-only tools for interacting with ASPEN Oneliner cases over stdio
  • Tools: load_case, get_system_info, find_bus, list_equipment, get_equipment, run_fault, run_stepped_event
  • Bumps Go minimum to 1.24, adds github.com/modelcontextprotocol/go-sdk v1.4.0

Status

Beta/Untested — cross-compiles for windows/386 but has not been validated against a live OlxAPI DLL. Looking for testers with valid ASPEN Oneliner licenses.

Test plan

  • GOOS=windows GOARCH=386 go build ./cmd/mcp-server/ compiles cleanly
  • Load a real .olr file via load_case
  • Query equipment with find_bus / list_equipment / get_equipment
  • Run fault simulation via run_fault and verify current/voltage values
  • Run stepped event analysis via run_stepped_event and verify relay timeline

Adds an MCP (Model Context Protocol) server at cmd/mcp-server/ that
exposes 7 read-only tools for interacting with ASPEN Oneliner cases:
load_case, get_system_info, find_bus, list_equipment, get_equipment,
run_fault, and run_stepped_event.

Beta/untested — cross-compiles but has not been validated against a
live OlxAPI DLL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant